﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MyAccount.aspx.cs" Inherits="appClient.MyAccount" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>
        Mon Compte
    </h2>
    <p>
        J'ai eu mon compte pour aujourd'hui !
    </p>

	<div class="accountInfoModif">
		<fieldset>
			<legend>Informations de compte</legend>
			
				<p>
					<asp:Label runat="server">Nom :</asp:Label><br /><asp:Textbox ID="LastName" runat="server" Width="250" />
					<asp:RequiredFieldValidator ID="LastNameRequired" runat="server" ControlToValidate="LastName" 
												CssClass="failureNotification" ErrorMessage="Un nom est requis." 
												ToolTip="Un nom est requis." ValidationGroup="RegisterUserValidationGroup">*
					</asp:RequiredFieldValidator>
				</p>
				<p>
					<asp:Label runat="server">Prénom :</asp:Label><br /><asp:Textbox ID="FirstName" runat="server" Width="250" />
					<asp:RequiredFieldValidator ID="FirstNameRequired" runat="server" ControlToValidate="FirstName" 
												CssClass="failureNotification" ErrorMessage="Un prénom est requis." 
												ToolTip="Un prénom est requis." ValidationGroup="RegisterUserValidationGroup">*
					</asp:RequiredFieldValidator>
				</p>
				<p>
					<asp:Label runat="server">Adresse :</asp:Label><br /><asp:Textbox ID="Address" runat="server" Width="250" />
					<asp:RequiredFieldValidator ID="AddressRequired" runat="server" ControlToValidate="Address" 
												CssClass="failureNotification" ErrorMessage="Une adresse est requise." 
												ToolTip="Une adresse est requise." ValidationGroup="RegisterUserValidationGroup">*
					</asp:RequiredFieldValidator>
				</p>
				<p>
					<asp:Label runat="server">Code postal :</asp:Label><br /><asp:Textbox ID="ZIP" runat="server" Width="250" />
					<asp:RequiredFieldValidator ID="ZipRequired" runat="server" ControlToValidate="ZIP" 
												CssClass="failureNotification" ErrorMessage="Un code postal est requis." 
												ToolTip="Un code postal est requis." ValidationGroup="RegisterUserValidationGroup">*
					</asp:RequiredFieldValidator>
				</p>
				<p>
					<asp:Label runat="server">Ville :</asp:Label><br /><asp:Textbox ID="City" runat="server" Width="250" />
					<asp:RequiredFieldValidator ID="CityRequired" runat="server" ControlToValidate="City" 
												CssClass="failureNotification" ErrorMessage="Une ville est requise." 
												ToolTip="Une ville est requise." ValidationGroup="RegisterUserValidationGroup">*
					</asp:RequiredFieldValidator>
				</p>
				<p>
					<asp:Label runat="server">Téléphone :</asp:Label><br /><asp:Textbox ID="Phone" runat="server" Width="250" />
					<asp:RequiredFieldValidator ID="PhoneRequired" runat="server" ControlToValidate="Phone" 
												CssClass="failureNotification" ErrorMessage="Un numéro de téléphone est requis." 
												ToolTip="Un numéro de téléphone est requis." ValidationGroup="RegisterUserValidationGroup">*
					</asp:RequiredFieldValidator>
				</p>
				<p>
					<asp:Label runat="server">Mail :</asp:Label><br /><asp:Textbox ID="Email" runat="server" Width="250" />
					<asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="Email" 
												CssClass="failureNotification" ErrorMessage="Une adresse de messagerie est requise." 
												ToolTip="Une adresse de messagerie est requise." ValidationGroup="RegisterUserValidationGroup">*
					</asp:RequiredFieldValidator>
				</p>
		</fieldset>

		<p class="submitButton">
				<asp:Button ID="CreateUserButton" runat="server" CommandName="MoveNext" Text="Prendre en compte les modifications" 
							ValidationGroup="RegisterUserValidationGroup" onclick="CreateUserButton_Click" />
		</p>
	</div>

</asp:Content>
